package model;

/**
 * The {@link WindowDisposedEvent} class is a {@link WindowEvent} that specifies that
 * a Window was disposed.
 *
 */
public class WindowDisposedEvent extends WindowEvent {

	/**
	 * Construcor of {@link WindowDisposedEvent}.
	 * @param window is the {@link Window} that sends this {@link WindowEvent}.
	 */
	public WindowDisposedEvent(final Window window) {
		super(window);
	}

	@Override
	public void accept(final WindowEventVisitor windowEventVisitor) {
		windowEventVisitor.handleWindowDisposedEvent(this);
	}

}
